package com.lyl.lawyer.dao;

import com.lyl.lawyer.model.entity.LawyerRoleModel;

import java.util.List;

public interface LawyerRoleMapper {

    int add(LawyerRoleModel lawyerRoleModel);
    int delete(Integer id);
    int update(LawyerRoleModel lawyerRoleModel);
    LawyerRoleModel findById(Integer id);
    LawyerRoleModel findByRole(String role);
    List<LawyerRoleModel> findAll();
    int countFindAll(LawyerRoleModel lawyerRoleModel);
}
